home *** CD-ROM | disk | FTP | other *** search
- Boot Safe Version 3.30
- Copyright (c) 1992, 1993 Mark Hamilton
- All Rights Reserved Worldwide
- -----------------------------
-
- Disclaimer
- ----------
- This program is offered "as-is" and without any warranty of any kind
- whether expressed or implied. By using either "BootSafe" and/or the
- "SafeBoot" program it creates you automatically assume all risks
- associated with its/their use.
-
- Licence
- -------
- You may install the demonstration version on your own PC without let or
- hindrance for a maximum period of ten (10) years commencing on the date
- of installation. However, if you intend to use this program on PCs not
- directly owned by you, you must apply for a Registered User's Site
- Licence.
-
- Registered Users and holders of a Registered User Site Licence will be
- issued with a "SafeKey" Registration Number which will unlock the
- current and all future versions of "BootSafe". Such users may not pass
- on to any third party or allow any third party access to or usage of
- the "SafeKey" Registration Number.
-
- All usage of this software shall be on a non-exclusive basis.
-
- You may not breach my copyright by reverse engineering or decompiling
- nor may you modify the "BootSafe", "SafeBoot" or "SafeKey" programs;
- any attempt at modification of these programs is a criminal act and is
- punishable under Section 3 of The Computer Misuse Act, 1990. You
- should be aware that these programs may contain routines that
- specifically prevent their operation being traced or debugged.
-
- Description
- -----------
- "BootSafe" is a small program that takes backup copies of your PC's
- Master Boot and Partition Boot Records. Unlike similar programs which
- simply take copies of the Master Boot and Active Partition Boot
- Records, this program will store all Partition Boot Records it finds.
- This covers eventualities such as when the bootable Partition is a Boot
- Manager, such as IBM's Boot Manager as shipped with OS/2 v2, which are
- not normal bootable partitions and the DOS partition is booted
- indirectly.
-
- "BootSafe" also locates the MS-DOS or PC-DOS standard Operating System
- files and calculates and stores 32-bit CRC values for these files.
-
- When you run "BootSafe", it firstly ensures that it has clean access to
- the PC's BIOS and DOS and bypasses any Device Drivers or TSR programs
- that may be active -- any viruses that might be in memory and
- monitoring the BIOS or DOS entry points are also bypassed. It then
- collects and stores the Master Boot Record and up to four Partition
- Boot Records -- only those that have been initialised are stored. It
- then checks each of the Partition Boot Records to see whether they are
- in fact child Master Boot Records - the Partition Type in the original
- Master Boot Record will be "Extended Dos". If "BootSafe" finds a child
- Master Boot Record, it collects up to four Partition Boot Records to
- which it points. All such child Master Boot Record are processed.
-
- Virus Specifics - Registered Versions only
- ------------------------------------------
- As each boot sector is collected, it is scanned for known viruses and
- the program has the capability of curing most of them. You will be
- asked if you wish "BootSafe" to attempt to auto-cure any infected
- sectors and the program always saves the original (infected) boot
- sector in a file called BOOTSVxx.SAV (the xx is 01 for the first
- infection, 02 for the second and so on). If a Partition Boot sector is
- infected, "BootSafe" attempts to determine which logical drive this
- refers to and displays its drive letter accordingly.
-
- The following guidelines should be borne in mind:
-
- 1. If the Master Boot Record is infected (Track 0, Head 0, Sector 1), you
- are advised to agree to it being automatically cured.
- 2. If an Extended Boot Record is infected (Track number will vary, but the
- Head number will be 0 and the Sector number will be 1), you need not
- cure it if you don't wish to since its code will never be executed.
- 3. If a Partition Boot Record is infected, you should always agree to
- the auto-cure process EXCEPT if the Partition is:
- (a) An OS/2 Partition
- (b) A Novell/DR-Dos Partition
- "BootSafe" always creates a back up copy of the suspect boot sector
- in a file called BOOTSV0x.SAV (where 'x' is 1 for the first infection, 2
- for the second and so on). This file can be examined with any binary
- editor, Norton Utilities and can be replaced if it is clean and if
- "BootSafe" has made an error.
- 4. If "BootSafe" detects a virus in the Master Boot Record - or one of the
- Extended MBRs, it displays the Track, Head and Sector numbers where the
- infection was detected. If an infection is found in one of the Partition
- (or Logical) Boot Sectors, it will display the logical drive letter
- associated with that drive.
- 5. In the case of Partition Boot Records, it uses the following methodology:
- (1) Attempt to locate original boot sector, if that fails
- (2) Builds a new boot sector, but if the Dos version is 3.x
- (3) Attempt to build new boot sector using parameters contained
- in the infected one, if that fails
- (4) Displays a message advising user to reboot PC and use SYS
- command.
- 6. A similar strategy is used in the case of Master Boot Records.
- 7. "SafeBoot" uses no virus-specific knowledge and always replaces the
- originally stored boot sector.
- 8. Currently, "SafeBoot" creates (or recreates) Partition Boot Records that
- are IBM/MS-Dos compatible. It does not create Dr-Dos or OS/2 compatible
- boot sectors (if you need this facility, let me know).
- 9. If either "BootSafe" or "SafeBoot" discover a virus YOU MUST REBOOT
- YOUR PC IMMEDIATELY THE PROGRAM HAS TERMINATED to prevent the risk of
- spreading the infection - because the virus will still be resident in
- memory, even though it has been removed from the disk.
-
- Release Information - Registered Versions only
- ----------------------------------------------
- This is the February 1993 release (BSFEB93). It detects the following
- viruses: Anthrax, CoolBoot, EXEBug II, Nichols and Tequila.
-
- It can detect and (usually) cure the following viruses:
- Azusa, Beijing, BFD, Brunswick, Cannabis, Cannabis A, Chinese Fish,
- CMOS-1, Damien, Disk Killer, Disk Killer 2, EDV, Evil Empire, Evil Empire B,
- EXEbug I, Filler, Form, Flip, Horse, Italian, Italian A, Italian B,
- Italian C, Italian Generic, Joshi, Lao Doung, LBBCV-Kilroy, LBBCV-Stealth,
- Leszop, Michelangelo, Mistake, Music Bug, New Zealand 1,
- New Zealand 2 (Stoned), New Zealand (Alberta), New Zealand (Polish),
- New Zealand (No Int), New Zealand (Sex Revolution 1), New Zealand (Sex
- Revolution 2), New Zealand (Stoned Zapper), Parity Boot, Print Screen,
- Rostov, Spanish Telecom, Spanish Telecom 3 and V-Sign (Cansu).
-
- For the next release, I hope to have completed the necessary cure code
- for Anthrax and Tequila and detection code will be incorporated for any
- new Boot Sector viruses.
-
- Installation
- ------------
- Important Note: You MUST reinstall "BootSafe" if you make ANY changes
- which affect the normal operating environment of your PC.
- Specifically:
-
- (i) You execute the Dos Utility FDISK for any reason
- (ii) You change the operating system files by installing a different version
- (iii) You change the boot structure by installing a boot-time security program
-
- BootSafe" and "SafeBoot" currently only run under DOS version 3 or
- above, you should not attempt to run either program under OS/2's Dos
- emulation. This restriction may be removed in a future version. They
- will, however, protect OS/2 FAT and HPFS boot sectors provided the PC
- can be booted-up with Dos.
-
- To install the Demonstration Version of "BootSafe":
-
- (a) Boot your PC from a "clean", write-protected system diskette.
- (b) Scan the PC using an upto date Virus Scanner. Remove any Viruses detected.
- (c) Execute "BootSafe" and allow it to complete its five phases, about 5 secs.
- (d) Insert the command "SafeBoot" in your "AUTOEXEC.BAT" file.
-
- To install a Registered Version of "BootSafe":
-
- (a) Temporarily REM-out any anti-virus TSR programs from your AUTOEXEC.BAT
- (b) Reboot your PC and run the "SafeKey" program. Enter the prompted details
- exactly as given in your Notification of Registration.
- (c) If you entered the details correctly, the Registered Version will be
- automatically installed, otherwise a Demonstration version will be
- installed.
- (d) Re-edit your AUTOEXEC.BAT and place the command:
- SAFEBOOT
- as the *first* command. Re-enable (by removing the REMark), any anti-
- virus TSR programs not loaded by virtue of Step (a).
-
-
- The Installation Phases
- -----------------------
- Phase 1: Edentifying CPU and Mode
- BootSafe must be run under Dos and it simply checks to see if it
- is operating under a real Dos. This operation is performed
- silently.
-
- Phase 2: Finding Clean Access Points
- During the Phase, "BootSafe" is tracing the BIOS and DOS Interrupt
- Vectors in memory until it finds the final entry points owned by
- the BIOS and DOS respectively. These addresses are displayed in
- hexadecimal using Segment:Offset notation.
-
- Phase 3: Collecting, scanning and storing Master Boot Record
- "BootSafe" reads the first hard drive and collects the Master Boot
- Record. This is scanned for viruses and offers to cure any it
- finds (see "Virus Specifics" above). It stores a copy of the
- Master Boot Record and displays its CRC value.
-
- Phase 4: Reading and Verifying Partition Table
- During this phase, "BootSafe" looks for valid Partition Boot Records
- which it scans and stores. It displays the CRC value and the Partition
- type for each valid, initialised Partition Boot Record.
-
- Phase 5: Scanning Operating System Files
- "BootSafe" locates the Operating System Files "IO.SYS", "MSDOS.SYS",
- or "IBMIO.COM" and "IBMDOS.COM", and "COMMAND.COM" and stores the
- CRC value of each which it also displays.
-
- Phase 6: Creating SAFEBOOT runtime check program
- "BootSafe" creates a program called "SafeBoot" in the Root Directory
- of Drive C which contains copies of all the relevant boot sectors as
- well as all the required checking code. This file will be 5,988 bytes
- in length (for a simple set-up consisting of 1 logical partition) and
- increments by 542 for each additional boot record.
-
- "SafeBoot"
- ----------
- This is an interactive runtime checking program which is created by
- "BootSafe". It is encrypted to make it very much harder for virus
- writers to target it and compromise the data stored within it. The
- encryption key is randomly generated to ensure each copy of "SafeBoot"
- is uniquely encrypted.
-
- It performs four checking phases which correlate to the first four
- phases of "BootSafe", the major difference being that the various boot
- sectors are not stored.
-
- If "SafeBoot" detects that any of the boot sectors have been modified
- since "SafeBoot" was created, it reports:
-
- Partition Boot Record X modified
-
- If your copy is registered, you will be prompted:
-
- Replace it or Abort (R/A):
-
- It will ignore any keystrokes apart from the letters "R", "r", "A" or
- "a". If you elect to Replace it, press "R" or "r" and the original
- boot sector that was read from that disk address will replace the one
- that is currently there. This is normally quite safe -- provided you
- have followed the installation instructions to the letter -- but if you
- are unsure, you should press "A" or "a" and use a sector editor, such
- as Norton Utilities, to examine the relevant sector.
-
- "SafeBoot" will also detect any modifications to the Operating System
- files but will not offer to repair them.
-
- Example
- =======
-
- The following is an example installation on a PC whose hard disk is
- partitioned in to eleven logical drives (C to K and OS2) and also has
- IBM Boot Manager installed.
-
- ===============================================================================
- Boot Safe Operating System Protection Program Version R3.30
- Copyright (c) 1992, 1993 Mark Hamilton All Rights Reserved Worldwide
- ===============================================================================
-
- Phase 1: Finding Clean Access Points - DOS: 014E:109E and BIOS: FFFF:154B
- Phase 2: Collecting, scanning and storing Master Boot Record
- Phase 3: Traversing Master and Extended Partition Chains
- --------------------------------------------
- Type Label Track Head Sect CRC-32
- --------------------------------------------
- Master M 0 0 1 CE9217C3
- FAT 16 DRIVE C 0 1 1 90D92A3F
- Extend M 31 0 1 D6F7AA75
- IBM BM M 304 0 1 FF8ED68A
- FAT 16 DRIVE D 31 1 1 3F7E291B
- Extend M 62 0 1 9C8A928F
- FAT 16 DRIVE E 62 1 1 06444417
- Extend M 93 0 1 78363CB3
- FAT 16 DRIVE F 93 1 1 4D0AF303
- Extend M 124 0 1 81BBA009
- FAT 16 DRIVE G 124 1 1 6E59AC20
- Extend M 155 0 1 6EADC425
- FAT 16 DRIVE H 155 1 1 B05533E3
- Extend M 186 0 1 0E249F44
- FAT 16 DRIVE I 186 1 1 EA66AC29
- Extend M 217 0 1 DADF1C3D
- FAT 16 DRIVE J 217 1 1 A1281B3D
- Extend M 248 0 1 6D2157E1
- FAT 16 DRIVE K 248 1 1 EAAA47E3
- Extend M 264 0 1 E642C09F
- Big Dos NO NAME 264 1 1 DD199B6B
- --------------------------------------------
- Phase 4: Scanning Operating System Files
- BIOS extensions: IO.SYS - CRC is ED6667BF
- Operating System: MSDOS.SYS - CRC is 112E8A7E
- Command Interpreter: (COMSPEC) - CRC is 6AC591FF
- Phase 5: Creating SAFEBOOT runtime check program 16877 bytes in length.
-
- The runtime checker "C:\SAFEBOOT.COM" has been created. I suggest that you now
- insert the command "SAFEBOOT" in your AUTOEXEC.BAT file so that it is invoked
- each time you boot your computer.
-
- ===============================================================================
- Safe Boot Operating System Protection Program Version R3.30
- Copyright (c) 1992, 1993 Mark Hamilton All Rights Reserved Worldwide
- ===============================================================================
-
- Phase 1: Finding Clean Access Points - DOS: 014E:109E and BIOS: FFFF:154B
- Phase 2: Testing All Boot Entries:
- The Boot Sector at Track 0, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 0, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 31, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 304, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 31, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 62, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 62, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 93, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 93, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 124, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 124, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 155, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 155, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 186, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 186, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 217, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 217, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 248, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 248, Head 1, Sector 1, verified OK.
- The Boot Sector at Track 264, Head 0, Sector 1, verified OK.
- The Boot Sector at Track 264, Head 1, Sector 1, verified OK.
- Phase 3: Testing Operating System Files
- C:\IO.SYS Checked OK
- C:\MSDOS.SYS Checked OK
- C:\COMMAND.COM Checked OK
-
- No errors were encountered.
-
-
- Registering your copy of BootSafe
- ---------------------------------
- To enjoy the full benefits and protection that BootSafe affords, you
- should register your copy, it only costs $20 per copy. You will get
- the following benefits:
-
- 1. BootSafe will scan for Boot Sector viruses upon installation; this ensures
- it is not storing details of infected boot sectors.
- 2. SafeBoot will replace damaged or infected Boot Sectors that it detects (it
- simply warns of changes on unregistered versions).
- 3. You won't be nagged by the splash screens.
- 4. You will be entitled to one year's technical support.
-
- To register BootSafe, simply GO SWREG at any CompuServe ! prompt. The
- Registration Number is 704. Upon receipt of notification from
- CompuServe, I will send you by CIS Mail a Registration Key and
- instructions for its use - note that the key is active for all future
- versions of BootSafe.
-
- To apply for a Registered User's Site Licence, CIS Mail me at
- 100013,600 indicating the number of machines to be covered and I will
- send you a pro-forma invoice and full details of how payment is to be
- made. Upon receipt of your payment, your "SafeKey" Registration
- Number(s) will be emailed to you. Note that this entire process can
- take upto 14 days to complete.
-
- Once you receive the Registration Key, you start the SafeKey program
- and enter the details EXACTLY as given in the Registration Document you
- receive from me. If you enter the details correctly, BootSafe will be
- invoked which will scan your disks and a registered version of SafeBoot
- created. BootSafe will then be re-locked.
-
- Please note: SafeKey encrypts your details within itself: do not let
- anyone else use your copy of SafeKey or your Registration Key.
-
- A sample form - with a fictitous Registration Key - is given below:
-
- -------------------------------------------------------------------------------
- London, England.
-
- Dear BootSafe User,
-
- Thank you for registering your copy of BootSafe. Below, you will find details
- of your Activation Key which you can enter into the SafeKey program to unlock
- your current copy of BootSafe - and any updates you download. The details of
- your key are as follows:
-
-
- Registered Name: Mark Hamilton
- CIS PPN/ID: 100013,600
- BootSafe Key: 0101769-AX1OSF
-
-
- When you unlock BootSafe, the following facilites become available to you:
- (1) BootSafe will check your various Boot Sectors and disinfect them prior to
- installing its checking code into SafeBoot - the runtime checker.
- (2) If SafeBoot detects changes, it will be able to repair those changes.
- (3) BootSafe's and SafeBoot's 'nag' screens are disabled.
- (4) You are entitled to one year's technical support commencing on the date
- you registered the software.
-
- You should preserve this key carefully: you will need it if you need to
- install a new version of BootSafe.
- Note that SafeKey will unlock BootSafe for just *one* installation, it will
- be re-locked when SafeBoot has been created.
-
- Mark Hamilton [100013,600]
- -------------------------------------------------------------------------------
-
- Summary
- -------
- "BootSafe"/"SafeBoot" is a generic anti-virus program that protects the
- key areas of the PC, namely its various boot sectors. It is effective
- against all boot sector viruses in current circulation as well as those
- that might pose a threat in the future.
-
-
-
- Mark Hamilton
- March 1993.
-